package com.gxa.retail_admin.controller;
import com.gxa.common.vo.ResultVo;
import com.gxa.modules.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/Emp")
public class EmpController {

    @Autowired
    private EmpService EmpService;

    @GetMapping("/findEmpList")
    public ResultVo findSysUserList(Integer page, Integer limit){
        return EmpService.findEmpList(page,limit);
    }

}
